#include "algori_drtuning.h"


int main(int argc, char** argv) {
  cv::Mat imgRgb, imgRgb2, imgGrayCheckOut;

  imgRgb = cv::imread(argv[1]);
  if (imgRgb.empty()) {
    std::cout << "please input: ./drtuning <picture path>" << std::endl;
    return -1;
  }  
 
  // cv::resize(img_rgb, img_rgb2, cv::Size(img_rgb.cols*3, img_rgb.rows*3));
  AlgoriDrtuning drtuingCheck;
  if (drtuingCheck.laserSensorSiteAnalysis(imgRgb, imgGrayCheckOut)) {
    cv::namedWindow("Result Picture", cv::WINDOW_FREERATIO);
    cv::imshow("Result Picture", imgGrayCheckOut);
  }

  cv::waitKey(0);

  return 0;
}